package role

import (
	"context"

	"admin-gf/api/role/v1"
)

func (c *ControllerV1) RoleList(ctx context.Context, req *v1.RoleListReq) (res *v1.RoleListRes, err error) {
	return c.RoleLogic.SearchRoles(ctx, req)
}
